package com.jie.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;

/**
 * @Author: 杰
 * @Project :netty-communication
 * @Description: TODO
 * @DateTime: 2023/11/21 20:02
 **/
@Data
@ApiModel("群信息DTO")
public class GroupDTO {
    @ApiModelProperty(value = "群id")
    private Long id;

    @ApiModelProperty(value = "群名称")
    private String groupName;

    @ApiModelProperty(value = "群主id")
    private Long ownerId;

    @ApiModelProperty(value = "头像")
    private String headImage;

    @ApiModelProperty(value = "头像缩略图")
    private String headImageThumb;

    @ApiModelProperty(value = "群公告")
    private String description;

    @ApiModelProperty(value = "用户在群显示昵称")
    private String aliasName;
}
